#include "vcd-setting-other.h"

#include "vcd-other-topbar.h"

GtkWidget* vcd_setting_other_notebook(void){
    GtkWidget *notebook;
    notebook = gtk_notebook_new();
    gtk_notebook_set_show_border((GtkNotebook *)notebook, FALSE);

    GtkWidget *page_topbar = vcd_other_topbar_new();

    GtkWidget *notelabel_server_ip = gtk_label_new("\n悬浮框\n");

    gtk_notebook_set_tab_pos(GTK_NOTEBOOK(notebook), GTK_POS_TOP);//设置notebook标题栏的位置

    gtk_notebook_append_page(GTK_NOTEBOOK(notebook), page_topbar, notelabel_server_ip);

    gtk_notebook_set_show_border((GtkNotebook *)notebook, FALSE);

    set_css(notebook, "header{background:rgb(245,245,245);"
            "border-bottom:0px solid rgb(230,230,230)}");
    set_css(notebook, "notebook{background-color:rgb(255,255,255);"
            "border-bottom:none;"
            "border-radius:0px}");

        return notebook;

}
